package com.yhsimon.service;

import com.yhsimon.pojo.Book;

import java.util.List;

public interface BookService {
    int addBook(Book book);
    int deleteById(int id);
    int updateBook(Book book);
    Book queryBookById(int id);
    List<Book> queryAllBooks();

    List<Book> queryBookByName(String bookName);
}
